<div class="navbar">
	<div class="navbar-inner bg-green">
    <div class="left sliding">
    	<a href="" class="back link">
    		<i class="icon icon-back color-white"></i>
    	</a>
    </div>
    <div class="center sliding color-white">预定</div>
  </div>
</div>

<div class="pages navbar-through">
  <div data-page="fortest" class="page bg-white" id="fortest">
    <div class="page-content">
    	<div id="dcontent" class="dcontent">
			<!--<div class="button" onclick="changeIndex();">
				选择：<span id="display" style="color:#FF0000">主摄像头</span>
				<div style="width:0px;height:0px;overflow:hidden;"><select id="index">
					<option value='1' selected="true">主摄像头</option>
					<option value='2' >辅摄像头</option>
				</select></div>
			</div>-->
			<div class="button" onclick="getImage();">拍照</div>
			<div class="button" onclick="getVideo();">录像</div>
			<br/>
			<!-- History list -->
			<ul id="history" class="dlist" style="text-align:left;">
				<li id="empty" class="ditem-empty">无历史记录</li>
			</ul>
			<br/>
			<div class="button button-waring" onclick="cleanHistory();">清空历史记录</div>
			<br/>
		</div>
		<div id="output">
Camera管理摄像头设备，可用于拍摄照片、录制视频文件。
		</div>
    </div>
  </div>
</div>

